package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseTmpADao;
import com.appkubes.mall.core.entity.TmpA;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseTmpAService extends AbstractBaseService<BaseTmpADao, TmpA> {

    TmpA getOneByEntity(TmpA entity);

    List<TmpA> selectListByEntity(TmpA entity);

    IPage<TmpA> selectPageByEntity(IPage<TmpA> page);
    IPage<TmpA> selectPageByEntity(PageVO pageVO);

    IPage<TmpA> selectPageByEntity(TmpA entity, IPage<TmpA> page);
    IPage<TmpA> selectPageByEntity(TmpA entity, PageVO pageVO);

    IPage<TmpA> selectPageByEntity(TmpA entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(TmpA entity);
}
